// app.js
import './utils/utils'
import './utils/http'

App({
  globalData: {},
  token: '',
  userinfo: {
    nickName: '',
    avatar: '',
  },
  onLaunch() {
    // 应用一旦启动，就重本次存储中读取token
    this.token = wx.getStorageSync('token')
  },
})
